package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供货验收货物对象 sys_acceptancegoods
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysAcceptancegoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供货验收货物Id */
    private Long acceptanceGoodsId;

    /** 采购单位验收合同表ID */
    @Excel(name = "采购单位验收合同表ID")
    private Long acceptanceContractId;

    /** 品目 */
    @Excel(name = "品目")
    private String items;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String models;

    /** 单价 */
    @Excel(name = "单价")
    private Long price;

    /** 数量 */
    @Excel(name = "数量")
    private int number;

    /** 金额 */
    @Excel(name = "金额")
    private double amount;

    /** 质量状况 */
    @Excel(name = "质量状况")
    private String equality;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String attribute2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribute3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String attribute4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String attribute5;

    public void setAcceptanceGoodsId(Long acceptanceGoodsId) 
    {
        this.acceptanceGoodsId = acceptanceGoodsId;
    }

    public Long getAcceptanceGoodsId() 
    {
        return acceptanceGoodsId;
    }
    public void setAcceptanceContractId(Long acceptanceContractId) 
    {
        this.acceptanceContractId = acceptanceContractId;
    }

    public Long getAcceptanceContractId() 
    {
        return acceptanceContractId;
    }
    public void setItems(String items) 
    {
        this.items = items;
    }

    public String getItems() 
    {
        return items;
    }
    public void setModels(String models) 
    {
        this.models = models;
    }

    public String getModels() 
    {
        return models;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setNumber(int number)
    {
        this.number = number;
    }

    public int getNumber()
    {
        return number;
    }
    public void setAmount(double amount)
    {
        this.amount = amount;
    }

    public double getAmount()
    {
        return amount;
    }
    public void setEquality(String equality) 
    {
        this.equality = equality;
    }

    public String getEquality() 
    {
        return equality;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setAttribute3(String attribute3) 
    {
        this.attribute3 = attribute3;
    }

    public String getAttribute3() 
    {
        return attribute3;
    }
    public void setAttribute4(String attribute4) 
    {
        this.attribute4 = attribute4;
    }

    public String getAttribute4() 
    {
        return attribute4;
    }
    public void setAttribute5(String attribute5) 
    {
        this.attribute5 = attribute5;
    }

    public String getAttribute5() 
    {
        return attribute5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("acceptanceGoodsId", getAcceptanceGoodsId())
            .append("acceptanceContractId", getAcceptanceContractId())
            .append("items", getItems())
            .append("models", getModels())
            .append("price", getPrice())
            .append("number", getNumber())
            .append("amount", getAmount())
            .append("equality", getEquality())
            .append("createTime", getCreateTime())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("attribute3", getAttribute3())
            .append("attribute4", getAttribute4())
            .append("attribute5", getAttribute5())
            .toString();
    }
}
